<%= form_for @document, :url => upload_doc_document_path, :method => :post ,:html => {:multipart => true} do |f|%>
  <div>
    <%= f.label "Upload document : " %> <br/>
    <%= f.file_field :attachment%>
  </div>

<br/>
<%= f.hidden_field :new_path ,:value => "#{@new_path}"  %>
<% if current_employee %>
<%= f.hidden_field :client_id ,:value =>  @document.client_id %>
<% else %>
<%= f.hidden_field :client_id ,:value => current_client.id %>
<% end %>
<%= submit_tag "Submit" %>
<% end %>